.class Lcom/burstly/lib/service/IpDownloader$IpListCallback;
.super Lcom/burstly/lib/network/request/DefaultRequestCallback;
.source "IpDownloader.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/burstly/lib/service/IpDownloader;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "IpListCallback"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/burstly/lib/network/request/DefaultRequestCallback",
        "<",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


# instance fields
.field private final mIpService:Lcom/burstly/lib/service/IpDownloader;


# direct methods
.method constructor <init>(Lcom/burstly/lib/service/IpDownloader;)V
    .locals 0
    .parameter "ipService"

    .prologue
    .line 80
    invoke-direct {p0}, Lcom/burstly/lib/network/request/DefaultRequestCallback;-><init>()V

    .line 81
    iput-object p1, p0, Lcom/burstly/lib/service/IpDownloader$IpListCallback;->mIpService:Lcom/burstly/lib/service/IpDownloader;

    .line 82
    return-void
.end method


# virtual methods
.method public bridge synthetic onFailInBackground(Ljava/lang/Object;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 68
    check-cast p1, Ljava/lang/String;

    .end local p1
    invoke-virtual {p0, p1}, Lcom/burstly/lib/service/IpDownloader$IpListCallback;->onFailInBackground(Ljava/lang/String;)V

    return-void
.end method

.method public onFailInBackground(Ljava/lang/String;)V
    .locals 5
    .parameter "processResult"

    .prologue
    const/4 v4, 0x0

    .line 86
    invoke-static {}, Lcom/burstly/lib/service/IpDownloader;->access$000()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    const-string v1, "IpDownloader"

    const-string v2, "Could not download server ip list. Using default."

    new-array v3, v4, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 87
    iget-object v0, p0, Lcom/burstly/lib/service/IpDownloader$IpListCallback;->mIpService:Lcom/burstly/lib/service/IpDownloader;

    iput-boolean v4, v0, Lcom/burstly/lib/service/IpDownloader;->mInProgress:Z

    .line 88
    return-void
.end method

.method public onNoConnection()V
    .locals 2

    .prologue
    .line 98
    iget-object v0, p0, Lcom/burstly/lib/service/IpDownloader$IpListCallback;->mIpService:Lcom/burstly/lib/service/IpDownloader;

    const/4 v1, 0x0

    iput-boolean v1, v0, Lcom/burstly/lib/service/IpDownloader;->mInProgress:Z

    .line 99
    return-void
.end method

.method public bridge synthetic onSuccessInBackground(Ljava/lang/Object;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 68
    check-cast p1, Ljava/lang/String;

    .end local p1
    invoke-virtual {p0, p1}, Lcom/burstly/lib/service/IpDownloader$IpListCallback;->onSuccessInBackground(Ljava/lang/String;)V

    return-void
.end method

.method public onSuccessInBackground(Ljava/lang/String;)V
    .locals 1
    .parameter "processResult"

    .prologue
    .line 93
    iget-object v0, p0, Lcom/burstly/lib/service/IpDownloader$IpListCallback;->mIpService:Lcom/burstly/lib/service/IpDownloader;

    invoke-virtual {v0, p1}, Lcom/burstly/lib/service/IpDownloader;->saveIPsToFile(Ljava/lang/String;)V

    .line 94
    return-void
.end method
